<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>发表留言</title>

</head>

<body>
<?php
include'index-date.php'
?>
<style>
* { margin:0; padding:0;
    font-size:12px;}
li{
	list-style:none;
	display:block;
	width:120px;
	height:50px;
	border:1px solid #C6FFFF;
	text-align:center;
	line-height:40px;
}


.box{
	margin:0 auto;
	height:500px;
	width:800px;
	
}
.box1 li{
	float:left;
	height:40px;
	
	}
.box2 li {
	float:left;
	}
</style>
<div class="box">
  <ul class="box1">
     <li>id</li>
     <li>姓名</li>
     <li>所属部门</li>
     <li>头像</li>
     <li>出生日期</li>
     <li>入职时间</li>

  </ul>
  <ul class="box2">
  <?php
  foreach ($list as $row)
  {
  ?>
     <li><?php echo $row['e_id']?></li>
     <li><?php echo $row['e_name']?></li>
     <li><?php echo $row['e_dept']?></li>
     <li><img src="<?php echo $row['e_img']?>" /></li>
     <li><?php echo $row['date_of_birth']?></li>
     <li><?php echo $row['date_of_entry']?></li>
      <?php
  }
  ?>
  </ul>
 
</div>
</body>
</html>
